//
//  JHRefreshAutoFooter.swift
//  SwiftTest
//
//  Created by 李江湖 on 2018/8/3.
//  Copyright © 2018年 李江湖. All rights reserved.
//

import UIKit

class JHFooterAutoView: UIView {
    lazy var imageView : UIImageView = {
        let imageV = UIImageView(image: UIImage(named: "dropdown_anim__0001"))
        
        if UIScreen.main.bounds.size.width == 812.0{
            imageV.frame = CGRect(x:(ScreenWidth-90)/2 , y: 44, width: 90, height: 70)
        }else{
            imageV.frame = CGRect(x:(ScreenWidth-90)/2 , y: 0, width: 90, height: 70)
            
        }
        return imageV
    }()
    
    required init?(coder aDecoder: NSCoder) {
        super.init(coder: aDecoder)
        self.creatUI()
    }
    override init(frame: CGRect) {
        super.init(frame: frame)
        self.creatUI()
    }
    func creatUI() {
        self.addSubview(self.imageView)
    }
}
class JHRefreshAutoFooter: MJRefreshAutoFooter {

}
